<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>历史下载记录</title>

		<link rel="stylesheet" type="text/css" href="css/site.css">
	</head>
	<body class="mainTopBg">
		<table
			style="height: 93px; text-align: center; margin: auto; width: 100%;">
			<tr>
				<td>
					<jsp:include page="top.jsp" flush="true"></jsp:include>

					<div class="mainHolder">
						<div
							style="text-align: left; width: 900px; font-size: 20px; padding-top: 15px; padding-left: 30px;">
							<div style="float: left">
								当前位置:信息检索->下载记录
							</div>
							<jsp:include page="searchBar.jsp"></jsp:include>
							<br>
						</div>
						<hr />
						<s:set name="list" value="#request.list" />
						<table id="mytable" style="width: 95%">
							<tr>
								<th>
									视频名称
								</th>
								<th>
									视频分类
								</th>
								<th>
									下载时间
								</th>
							</tr>
							<s:if test="#list==null||#list.size()==0">
								<tr height="30">
									<td colspan=5 align="center" style="border: 1 solid">
										暂无下载过任何视频
									</td>
								</tr>
							</s:if>
							<s:else>
								<s:iterator status="payforStatus" value="list">
									<tr height="23">
										<td>
											<s:property value="getvideoName()" />
											<%--<s:property value="getVideoNameString()" />--%>
										</td>
										<td>
											<s:property value="GetVideoCategory()" />
											<%--<s:property value="getVideoCategoryString(<s:property value="videoId" />)" />
										--%>
										</td>
										<td>
											<s:property value="getDownLoadString()" />
										</td>
									</tr>
								</s:iterator>
							</s:else>
						</table>
						<br />
						<br />
						<br />
						<s:actionerror />
					</div>
				</td>
			</tr>
		</table>
	</body>
</html>
